package com.ganmiao.web.shop;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author zero.yin
 * @Date 2022/7/22 12:08 PM
 * @Desc
 */
@Slf4j
@MapperScan(basePackages = {"com.ganmiao.**.mapper"})
@SpringBootApplication(scanBasePackages = {"com.ganmiao.**"},
        exclude = {DataSourceAutoConfiguration.class})
@EnableCaching(proxyTargetClass = true)
@EnableScheduling
public class WebShopServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebShopServerApplication.class, args);
        log.info("WebShopServerApplication successfully started...");
    }

}
